<?php


include_once "../../../../lib/import.php";

$window = new WBResizableWindow(array(
	'title' => 'StatusBar, Progressbar',
	'width' => 300,
	'height' => 300,
));

$statusbar = $window->createStatusBar(array(
	'items' => array(
		array('text', 100),
		array('', 100),
		''					// gauge 
	)
));

$statusbar->addControl(1, array(
	'wbtype' => 'CheckBox',
	'caption' => 'check test',
));

$statusbar->addControl(2, array(
	'wbtype' => 'Gauge',
	'range' => array('min' => 0, 'max' => 100),
	'current' => 10,
	'smooth' => true
));

$window->visible = true;
wbstart();

?>